package com.wwj.core.wawa.service;

import com.github.pagehelper.Page;
import com.wwj.core.wawa.entity.LogWaWaAdjust;
import com.wwj.core.wawa.entity.WaWa;
import com.wwj.framework.utils.ReturnData;

import java.util.List;
import java.util.Map;

/**
 * Created by Auser on 2017/11/16.
 */
public interface IInventoryService {

    Page<WaWa> findByPage(Map<String,Object> params,int offset,int limit)throws Exception;

    ReturnData add(WaWa wawa);

    void deleteById(Integer id);

    void updateIncoming(WaWa waWa);

    WaWa findById(Integer id);

    void updateWaWa(WaWa waWa) throws Exception;

    void addAdjustWaWa(LogWaWaAdjust logWaWaAdjust) throws Exception;

}
